package top.mengchaob.fileserver.netty.table;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @title：
 * @author: mengchaob
 * @date: 2021年05月12日 14:11
 * @description: 文件信息
 */
@Entity
@Table(name = "file_info")
public class FileDo {
    @Id
    @Column(length = 64)
    private String fileId;
    @Column(length = 128)
    private String fileName;
    @Column(length = 4)
    private String type;
    @Column(length = 32)
    private String lbCode;
    @Column(length = 20)//yyyy-mm-dd hh24:mi:ss
    private String createTime;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLbCode() {
        return lbCode;
    }

    public void setLbCode(String lbCode) {
        this.lbCode = lbCode;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
